#pragma once

#include "TrueText/Config.h"
#include "TrueText/PixelFormat.h"
#include "TrueText/Types.h"
#include <stddef.h>

namespace TrueText {

// Returns color of pixel at src (0..255)
Color GetPixelColor(const void* src, PixelFormat fmt);
void SetPixelColor(void* dst, PixelFormat fmt, Color color);

size_t GetBytesPerPixel(PixelFormat fmt);

}